﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Index.aspx.cs" Inherits="Enterprise.UI.Web.Modules.Manager.Index" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainPH" runat="server">
    <div class="vDaohangtiaoHolder module">
        <div class="vDaohangtiao">
            <ul>
                <li class="first">
                    <a href="/index.aspx" title="首页">首页</a>
                </li>
                <li class="last">
                    领导信箱
                </li>
            </ul>
        </div>
    </div>
    <Ent:HeadMenuWeb ID="HeadMenu1" runat="server">
        <Ent:HeadMenuButtonItem ButtonIcon="new.gif" ButtonName="我要留言" ButtonPopedom="New" ButtonUrl="ReleaseMsg.aspx" ButtonUrlType="Href" /> 
    </Ent:HeadMenuWeb>
    <div id="p" class="easyui-panel" style="border:0px;" fit="true"
        collapsible="false" minimizable="false" maximizable="false" closable="false">
        <div class="easyui-tabs" fit="true" plain="true">
            <div title="留言公示" style="padding: 10px;">
                <!--公示的信箱内容-->
                <asp:Repeater ID="Repeater1" runat="server">
                    <ItemTemplate>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td bgcolor="#E4E4E4">
                                    <table width="100%" border="0" cellspacing="1" cellpadding="0">
                                        <tr>
                                            <td width="13%" align="center" valign="middle" bgcolor="#FFFFFF">
                                                <%#formatStrName((int)Eval("MSGID"))%>
                                            </td>
                                            <td width="87%" align="left" valign="top" bgcolor="#FFFFFF">
                                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                    <tr>
                                                        <td align="left" valign="top">
                                                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                                <tr>
                                                                    <td align="left" height="23">留言时间：<%#Eval("MSGCREATETIME")%>
                                                                        留言给：<%#Enterprise.Service.User.UserService.GetUserName((int)Eval("MSGTUSER"))%>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td align="left" height="25">主题：<%#Eval("MSGTITLE")%>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td align="left">
                                                                        <div style="padding: 0px 20px 0px 0px; line-height: 20px; height: 20px; font-size: 12px;">
                                                                            <%#Eval("MSGCONTENT")%>
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td background="img/backx.png" height="9"></td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" valign="top">
                                                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                                <tr>
                                                                    <td align="left">
                                                                        <div style="color: Red;">
                                                                            <%#formatReply((int)Eval("MSGID"))%>
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td height="5"></td>
                            </tr>
                        </table>
                    </ItemTemplate>
                </asp:Repeater>
                <Ent:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged">
                </Ent:AspNetPager>
                <!--公示信箱内容结束-->
            </div>
            <div title="收到的留言" style="padding: 10px;">
                <!--我收到信件内容-->
                <asp:Repeater ID="Repeater2" runat="server">
                    <ItemTemplate>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td bgcolor="#E4E4E4">
                                    <table width="100%" border="0" cellspacing="1" cellpadding="0">
                                        <tr>
                                            <td width="13%" align="center" valign="middle" bgcolor="#FFFFFF">
                                                <%#Convert.ToInt32(Eval("MSGISANONYMOUS")) == 1 ? "匿名" : Enterprise.Service.User.UserService.GetUserName((int)Eval("MSGFUSER"))%>
                                            </td>
                                            <td width="87%" align="left" valign="top" bgcolor="#FFFFFF">
                                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                    <tr>
                                                        <td align="left" valign="top">
                                                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                                <tr>
                                                                    <td align="left" height="23">留言时间：<%#Eval("MSGCREATETIME")%>
                                                                        留言给：<%#Enterprise.Service.User.UserService.GetUserName((int)Eval("MSGTUSER"))%>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td align="left" height="25">主题：<%#Eval("MSGTITLE")%>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td align="left">
                                                                        <div style="padding: 0px 20px 0px 0px;">
                                                                            <%#Eval("MSGCONTENT")%>
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td background="img/backx.png" height="9"></td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" valign="top">
                                                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                                <tr>
                                                                    <td align="left">
                                                                        <div style="padding: 0px 20px 0px 0px; right: auto; color: Red;">
                                                                            <%#formatStr((int)Eval("MSGID"))%>
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td height="5"></td>
                            </tr>
                        </table>
                    </ItemTemplate>
                </asp:Repeater>
                <Ent:AspNetPager ID="AspNetPager2" runat="server" OnPageChanged="AspNetPager2_PageChanged">
                </Ent:AspNetPager>
                <!--我收到的信件内容结束-->
            </div>
            <%--<div title="我收到的留言" style="padding:10px;">
                <!--我发出的问题信件-->
                <asp:Repeater ID="Repeater3" runat="server" >   
               <ItemTemplate>
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td bgcolor="#E4E4E4"><table width="100%" border="0" cellspacing="1" cellpadding="0">
                          <tr>
                            <td width="13%" align="center" valign="middle" bgcolor="#FFFFFF"><%#SSEC.Services.User.UserServices.GetUserName((int)Eval("FromUser"))%></td>
                            <td width="87%" align="left" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                      <td align="left" height="23">留言时间：<%#Eval("MsgTime")%>   留言给：<%#SSEC.Services.User.UserServices.GetUserName((int)Eval("ToUser"))%></td>
                                    </tr>
                                    <tr>
                                      <td align="left" height="25">主题：<%#Eval("MsgTitle") %></td>
                                    </tr>
                                    <tr>
                                      <td align="left"><div style="padding:0px 20px 0px 0px;"><%#Eval("MsgContent") %></div></td>
                                    </tr>
                                </table></td>
                              </tr>
                              <tr><td background="img/backx.png" height="9">    </td></tr>
                              <tr>
                                <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                      <td align="left" background="img/back.png">
                                          <div style="padding:0px 20px 0px 0px;right:auto; color:Red;"><%#PGGSOA.BLL.BllManager.ManagerReply.CheckReply((int)Eval("Id"))==false?"尚未回复！":PGGSOA.BLL.BllManager.ManagerReply.ManagerReplyDisp((int)Eval("Id")).ReplyConent %></div></td>
                                    </tr>
                                </table></td>
                              </tr>
                            </table></td>
                          </tr>
                        </table></td>
                      </tr>
                      <tr><td height="5"> </td></tr>
                    </table>
               </ItemTemplate>
               
        </asp:Repeater>
                <Ent:aspnetpager id="AspNetPager3" runat="server" onpagechanged="AspNetPager3_PageChanged"></Ent:aspnetpager>
                <!--我发出的问题信件结束-->
                </div>--%>
        </div>
    </div>
</asp:Content>
